<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!doctype html>
<html class="no-js">
<head>
    <%@ include file="./../common/meta.jsp" %>
    <link rel="stylesheet" href="../css/index.css">
</head>
<body>
<header data-am-sticky class="am-header am-header-default am-no-layout">
    <div class="am-header-left am-header-nav">
        <a href="../index.jsp" class="">
            <i class="am-header-icon am-icon-chevron-left"></i>
        </a>
    </div>
    <h1 class="am-header-title">形体</h1>
</header>
<div id="main-box">

    <div class="am-content">
        <div data-am-widget="list_news" class="am-list-news am-list-news-default">


            <div class="am-list-news-bd">
                <ul class="am-list">


                </ul>
            </div>

        </div>


    </div>
    <%@ include file="./../common/footerNav.jsp" %>
    <%@ include file="./../common/footer.jsp" %>
    <script src="../../js/home/xingti.js"></script>
</div>


<script id="xtsx-template" type="text/x-handlebars-template">


    {{#each this}}

    <li class="am-g am-list-item-desced am-list-item-thumbed am-list-item-thumb-top">

        {{#each images}}
        <div class="am-list-thumb am-u-sm-12">
            <img src="{{this}}"/>
        </div>
        {{/each}}

        <div class=" am-list-main">
            <h3 class="am-list-item-hd">
                <a href="#" class="">{{title}}</a></h3>


            <div>
                {{content}}
            </div>

        </div>
    </li>

    <li class="am-g am-list-item-desced am-list-item-thumbed am-list-item-thumb-top">
        <span><a href="tel:{{phone}}"> {{phone}}</a></span>
    </li>
    {{/each}}
</script>


<script>
    $(function () {
        var url = "/h5/getXtsxs";
        $.post(url, function (result) {
            var source = $('#xtsx-template').html();
            var template = Handlebars.compile(source);
            var html = template(result);
            $(".am-list").append(html);

        })


    })


</script>

</body>
</html>